﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SFOOD.Model
{
    public class FoodListModel
    {
        public List<Food> foods { get; set; }

        public bool success { get; set; }
    }
    public class Food
    {
        public string id { get; set; }

        public string time { get; set; }

        public int food_id { get; set; }

        public string name { get; set; }

        public string desc { get; set; }

        public string phone { get; set; }

        public string address { get; set; }

        public string district { get; set; }

        public string district_id { get; set; }

        public string city { get; set; }

        public string website { get; set; }

        public string picture_path { get; set; }

        public Price price { get; set; }

        public int total_view { get; set; }

        public int total_review { get; set; }

        public int total_favourite { get; set; }

        public int total_checkins { get; set; }

        public Pro pros { get; set; }

        public Info infos { get; set; }

        public Facilitie facilities { get; set; }

        public int avg_rating { get; set; }

        public Location location { get; set; }

        public int category_id { get; set; }

        public string key_word {get;set;}

        public int status { get; set; }
    }

    public class Price
    {
        public string min { get; set; }

        public string max { get; set; }
    }

    public class Pro
    {
        public Pro()
        {
            items = new List<Item>();
        }
        public List<Item> items { get; set; }
    }

    public class Item
    {
        public string Name { get; set; }

        public string Value { get; set; }
    }

    public class Info
    {
        public Info()
        {
            items = new List<Item>();
        }
        public List<Item> items { get; set; }
    }

    public class Facilitie
    {
        public Facilitie()
        {
            items = new List<Item>();
        }
        public List<Item> items { get; set; }
    }

    public class Location
    {
        public double latitude { get; set; }

        public double longitude { get; set; }
    }
}
